#include "ros/ros.h"
#include "proj_talk/tes.h"
#include <sstream>


int main(int argc, char **argv)
{

  ros::init(argc, argv, "talker");
  ros::NodeHandle n;
  ros::Publisher chatter_pub = n.advertise<proj_talk::tes>("chatter", 1000);
  ros::Rate loop_rate(10);
  proj_talk::tes msg;

  msg.str="ABC";
  msg.num=123;

  int count = 0;
  while (ros::ok())
  {
    ROS_INFO("str: %s ;num: %f", msg.str.c_str(),msg.num);
    chatter_pub.publish(msg);
    ros::spinOnce();
    loop_rate.sleep();
    ++count;
  }
  return 0;
}

